package com.ruoyi.system.service;

import com.ruoyi.system.domain.FuelInfo;

import java.util.List;

/**
 * @author ytl
 * 参数管理模块
 */
public interface IFuelInfoService {
    public int insertFuelInfo(FuelInfo fuelInfo);
    public List<FuelInfo> listFuelInfo(FuelInfo fuelInfo);
    public List<FuelInfo> listFuelInfoAll();
    public int deleteFuelInfo(FuelInfo fuelInfo);
    public int updeteFuelInfo(FuelInfo fuelInfo);
    public List<FuelInfo> listFuelTenantInfo();
    /**
     * 导入油费数据
     *
     * @param fuelInfoList 油费数据列表
     * @param isUpdateSupport 是否更新支持，如果已存在，则进行更新数据
     * @param operName 操作用户
     * @return 结果
     */
    public String importFuelInfo(List<FuelInfo> fuelInfoList, Boolean isUpdateSupport, String operName);

    public FuelInfo listAllFuelInfo(FuelInfo fuelInfo);

}
